package com.wash.shoes.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wash.shoes.domain.vo.OrderCommentVo;
import com.wash.shoes.entity.OrderCommentPo;


/**
 * <p>
 * 订单的评价 服务类
 * </p>
 *
 * @author ljg
 * @since 2024-12-03
 */
public interface OrderCommentService extends IService<OrderCommentPo> {

    /**
     * 评论的列表
     *
     * @param orderCommentPo
     * @return
     */
    Page<OrderCommentVo> pageList(OrderCommentPo orderCommentPo);

    /**
     * 订单的评论
     *
     * @param orderId
     * @return
     */
    OrderCommentPo getByOrderId(String orderId);
}
